package com.sctvcloud.pingwu.application;

/**
 * Created by Administrator on 2017/7/11 0011.
 *
 *通用实体类
 *
 */

public class Constances {

    /**
     * 是否是测试版本
     */
    public static boolean IS_TESTING;

    public static final String SITE_ID = "405";
    public static final String IS_CITY_STATE = "IS_CITY_STATE";
    /**
     * 站点在网络访问中的key值
     */
    public static final String SITE_NET_KEY = "siteNumber";

    public static final String PUSH_TYPE_KEY = "pushType";

    // public static final String ST_BASE_URL = "http://172.16.17.36:8080/";

 /*****************正式环境配置（ip）* 区县********************/
//    /** 新闻静态接口 */
//    public static final String ST_BASE_URL = "http://182.151.57.65:8081/";
//    /** 新闻动态接口  http://192.168.29.163:8023/测试 */
//    public static final String DY_BASE_URL = "http://182.151.57.65:8083/";
//    /** 积分商城动态接口测试环境*/
//    public static final String MALL_DY_BASE_URL = "http://182.151.57.65:8023/";
//    /** 积分商城 静态接口*/
//    public static final String MALL_ST_BASE_URL = "http://182.151.57.65:8081/";
//    /** 统计日志 测试环境*/
//    public static final String ST_LOG_BASE_URL = "http://182.151.57.65:8085/";

    /*****************正式环境配置(域名)* 区县********************/
    public static final String ST_BASE_URL = "http://file.pwrmt.cn/";// 新闻静态接口，商场静态接口
    public static final String DY_BASE_URL = "http://api.pwrmt.cn:8083/";// 新闻动态接口 // 新闻动态接口  http://192.168.29.163:8023/测试
    public static final String MALL_DY_BASE_URL ="http://api.pwrmt.cn:8023/";//积分商城接口
    public static final String MALL_ST_BASE_URL = "http://file.pwrmt.cn/";// 新闻静态接口，商场静态接口
    public static final String ST_LOG_BASE_URL = "http://api.pwrmt.cn:8085/";//统计日志

    /**********************测试环境配置**********************/

//    public static final String ST_BASE_URL = "http://118.122.74.146:3081/";// 新闻静态接口
//    public static final String DY_BASE_URL = "http://118.122.74.146:3083/";// 新闻动态接口  http://192.168.29.163:8023/测试
//    public static final String MALL_DY_BASE_URL = "http://192.168.68.106:8023/";//积分商城动态接口测试环境
//    public static final String MALL_ST_BASE_URL = "http://192.168.68.105/";//积分商城 静态接口
//    public static final String ST_LOG_BASE_URL = "http://192.168.68.106:8085/";//统计日志 测试环境

    /**************
     * *********************************************/

    public static final String URL_MALL="sctv/scgcmall/store/shop.html";//积分商城的url
//    public static final String URL_COMMODITY_DETAIL ="http://js.sctv.com/xqtest/scgc/goods.html";//商品详情的url

    public static final int BIG_FONT = 23;
    public static final int MID_FONT = 21;
    public static final int SMALL_FONT = 20;
    public static final String FAST_SPEED = "80";
    public static final String MID_SPEED = "65";
    public static final String SLOW_SPEED = "45";

    public static final String SUBSCRIBE_KEY = "subscribe_key";
    public static final String FONT_KEY = "font_key";
    public static final String REBLLION_KEY = "rebllion_key";
    public static final String VOICE_TEMPLATE_KEY = "voice_template_key";
    public static final String VOICE_SPEED_KEY = "voice_speed_key";
    public static final String MATCHER_PHONE = "0?(13|14|15|17|18|19)[0-9]{9}";

    //用户类型
    public static final int USER_TYPE_COMMON = 1;
    public static final int USER_TYPE_REPORTER = 2;
    public static final int USER_TYPE_ANCHOR = 3;

    //新闻类型
    /**图文新闻*/
    public static final int NEWS_TYPE_GRAPHIC = 1;
    /**音频新闻*/
    public static final int NEWS_TYPE_AUDIO = 2;
    /**视频新闻*/
    public static final int NEWS_TYPE_VIDEO = 3;
    /**专题*/
    public static final int NEWS_TYPE_TOPIC = 4;
    /**直播新闻*/
    public static final int NEWS_TYPE_LIVE = 5;
    /**外部链接H5*/
    public static final int NEWS_TYPE_H5 = 6;
    /**区县新闻*/
    public static final int NEWS_TYPE_COUNTY = 7;

    //新增栏目布局类型
    public static final int COMMON_FRG_VIEW_TYPE_FIRST_LARGE = 1;
    public static final int COMMON_FRG_VIEW_TYPE_ALL_LARGE = 2;

    //报料类型
    /** 突发新闻 */
    public static final int REBELLION_TYPE_BREAKING_NEWS = 1;
    /**见闻*/
    public static final int REBELLION_TYPE_EXPERIENCES = 2;
    /**热点新闻*/
    public static final int REBELLION_TYPE_HOT_NEWS = 3;
    /**图片新闻*/
    public static final int REBELLION_TYPE_PIC_NEWS = 4;
    /**视频新闻*/
    public static final int REBELLION_TYPE_VIDEO_NEWS = 5;

    public static final int MODE_COMMENT_SEND_NEWS = 221;
    public static final int MODE_COMMENT_SEND_COMMENT = 222;
    public static final int MODE_COMMENT_GET_NEW = 223;

    //直播类型
    public static final int LIVE_TYPE_LIVING = 1;
    public static final int LIVE_TYPE_APPOINT = 2;
    public static final int LIVE_TYPE_REVIEW = 3;
    public static final int LIVE_TYPE_STUDIO = 4;
    public static final int LIVE_TYPE_CHAT = 5;

    //评论类型
    public static final int COMMENT_TYPE_NEWS = 0;
    public static final int COMMENT_TYPE_TOPIC = 1;
    public static final int COMMENT_TYPE_LIVE = 2;

    //请求评论数据类型
    public static final int REQUEST_COMMENT_TYPE_NEWS = 0;  //新闻评论
    public static final int REQUEST_COMMENT_TYPE_TOPIC = 1;//专题评论
    public static final int REQUEST_COMMENT_TYPE_LIVE = 2;//直播评论

    /**投票类型*/
    public static final int VOTE_TYPE_RADIO = 0;
    public static final int VOTE_TYPE_MULTI = 1;

    /**推送类型*/
    public static final int PUSH_TYPE_NORMAL = 0;//
    public static final int PUSH_TYPE_DYNAMIC = 1;//直播间动态
    public static final int PUSH_TYPE_CHAT = 2;//直播聊天室

    /**资讯类型
     * @constructor INFORMATION_TYPE_FLASH
     * @method INFORMATION_TYPE_WEIGHT
     * */
    public static final int INFORMATION_TYPE_FLASH = 1;
    public static final int INFORMATION_TYPE_WEIGHT = 2;

    public static final int SPACING_SMALL = 40;
    public static final int SPACING_MIDDLE = 60;
    public static final int SPACING_LARGE = 80;

    //第三方登录类型
    public static final int OPEN_TYPE_LOGIN_WEIBO = 1;
    public static final int OPEN_TYPE_LOGIN_WEIXIN = 2;
    public static final int OPEN_TYPE_LOGIN_QQ = 3;

    //数据版本的key
    public static final int DATA_VERSION_ADYNAMIC = 831;//主播动态的key

   /**增加积分类型
    * 1:签到;
    * 2:评论;
    * 3:转发;
    * 4:投稿;
    * 5:采用投稿;
    * 6:邀请码分享(推荐);
    * 7:新用户注册;
    * 8:输入邀请码;
    * 9:点赞
    * 10:阅读新闻;*/
   public static final int ADD_INTEGRAL_SIGN_IN = 1;
   public static final int ADD_INTEGRAL_COMMENT = 2;
   public static final int ADD_INTEGRAL_FORWARD = 3;
   public static final int ADD_INTEGRAL_SUBMISSION = 4;
   public static final int ADD_INTEGRAL_USE_SUBMISSION = 5;
   public static final int ADD_INTEGRAL_SHARE_INVITATION = 6;
   public static final int ADD_INTEGRAL_REGISTER = 7;
   public static final int ADD_INTEGRAL_INPUT_INVITATION = 8;
   public static final int ADD_INTEGRAL_DOUP = 9;//点赞
   public static final int ADD_INTEGRAL_READ_NEWS = 10;//


}
